package com.neusoft.aclome.cmp.cloud.server.jcce.entity;

import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.*;
import java.util.Date;

/**
 * describe :
 *
 * @author zfl
 * @date 2024/2/5
 */
@Table(name = "kt2_report_process")
public class Kt2ReportProcessEntity {

    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "id", insertable = false)
    private Long id;

    @Column(name = "report_json")
    private String reportJson;

    @Column(name = "cpu_json")
    private String cpuJson;

    @Column(name = "process_map")
    private String processMap;

    @Column(name = "process_data")
    private String processData;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "return_id")
    private String returnId;

    private Integer cpu;

    private Integer mem;

    private Integer storage;

    public Integer getCpu() {
        return cpu;
    }

    public void setCpu(Integer cpu) {
        this.cpu = cpu;
    }

    public Integer getMem() {
        return mem;
    }

    public void setMem(Integer mem) {
        this.mem = mem;
    }

    public Integer getStorage() {
        return storage;
    }

    public void setStorage(Integer storage) {
        this.storage = storage;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReportJson() {
        return reportJson;
    }

    public void setReportJson(String reportJson) {
        this.reportJson = reportJson;
    }

    public String getProcessData() {
        return processData;
    }

    public void setProcessData(String processData) {
        this.processData = processData;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReturnId() {
        return returnId;
    }

    public void setReturnId(String returnId) {
        this.returnId = returnId;
    }

    public String getCpuJson() {
        return cpuJson;
    }

    public void setCpuJson(String cpuJson) {
        this.cpuJson = cpuJson;
    }

    public String getProcessMap() {
        return processMap;
    }

    public void setProcessMap(String processMap) {
        this.processMap = processMap;
    }
}